import React, { PureComponent, Fragment } from 'react';
import { connect } from 'dva';
import { FormattedMessage } from 'umi/locale';
import { Row, Col } from 'antd';
import styles from './index.less';

@connect(({ product, loading }) => ({
  product,
  loading: loading.models.product,
}))
class ProductModbus extends PureComponent {
  render() {
    return (
      <Fragment>
        <Row style={{ marginTop: 15 }}>
          <Col className={styles.info_item_bottom} span={6}>
            <FormattedMessage id="app.dm.product.modbus.server" />
          </Col>
          <Col className={styles.info_con_end_bottom} span={18}>
            <FormattedMessage id="app.dm.product.modbus.con" />
          </Col>
        </Row>
      </Fragment>
    );
  }
}

export default ProductModbus;
